<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <!--公共无数据提示 开始-->
    <li th:if="${#lists.isEmpty(dataMap['list'])}" id="no-data-li">
        <section class="no-data__wrap">
            <em>&nbsp;</em>
            <p>亲，还没有任何收益~~~</p>
        </section>
    </li>
    <!--公共无数据提示 结束-->
    <div th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="profit:${dataMap['list']}" class="card-content">
        <div class="card-content-inner">
            <div class="list-block pl75 pr75">
                <div class="row pt5">
                    <section class="col-75">
                        <section>
                            <aside>
                                <span class="fs6 c-blue" th:text="${profit['user']['nickname']}"></span>
                                <span class="fs6 c-333"> 围观 </span>
                                <span class="fs6 c-blue" th:text="${#strings.abbreviate(profit['qaQuestion']['context'],8)}"></span>
                                <span class="fs6 c-333">问题</span>
                            </aside>
                            <aside>
                                <span class="fs6 c-888" th:text="${#strings.substring(profit['createTime'],0,16)}">2019-05-06 19:52</span>
                            </aside>
                        </section>
                    </section>
                    <section class="col-25">
                        <section class="text-right pt5">
                            <span class="fs4 c-888" th:text="${profit['status']}==1?'未提现':'已提现'"></span>
                            <br>
                            <span class="c-red" th:text="'+'+${profit['amount']}">20.0</span>
                        </section>
                    </section>
                </div>
            </div>
        </div>
    </div>

    <input type="hidden" id="totalPages" th:value="${dataMap['pages']}"/>
    <input type="hidden" id="currentPage" th:value="${dataMap['pageNum']}"/>
    <script th:inline="javascript" type="text/javascript">
        var total = [[${dataMap['total']}]];
    </script>
</html>
